package com.fzg.service;

import com.fzg.common.enums.ResponseWrapper;
import com.fzg.common.model.collection.param.CheckThisUserExpectWorkIsCollection;
import com.fzg.entity.CompanyUserCollection;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fzg
 * @since 2022-03-25
 */
public interface CompanyUserCollectionService extends IService<CompanyUserCollection> {

    /**
     * 判断当前这个职位是否被收藏
     * @param param 参数类
     * @return ResponseWrapper
     */
    ResponseWrapper checkThisUserExpectWorkIsCollection(CheckThisUserExpectWorkIsCollection param);

    /**
     * 企业点击收藏
     * @param param 参数类
     * @return ResponseWrapper
     */
    ResponseWrapper companyCollection(CheckThisUserExpectWorkIsCollection param);

    /**
     * 企业取消收藏用户的意向工作
     * @param param 参数类
     * @return ResponseWrapper
     */
    ResponseWrapper cancelCollectUserExpectWork(CheckThisUserExpectWorkIsCollection param);

}
